import Vue from 'vue'
import App from './App.vue'
import vuetify from './plugins/vuetify'
import axios from 'axios'

Vue.config.productionTip = false
Vue.prototype.axios = axios;
axios.defaults.timeout = 500000;
axios.defaults.headers.post['Content-Type'] = 'application/json;charset=UTF-8';
axios.defaults.baseURL = 'http://42.193.247.127:8080';
var Koa = require('koa');
var Cors = require('koa2-cors');
var app = new Koa();
app.use(Cors());

new Vue({
  vuetify,
  render: h => h(App)
}).$mount('#app')
